﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MailScheduler
{
    class Program
    {
        static void Main(string[] args)
        {
            Scheduler scheduler = new Scheduler();
            scheduler.startup();
            while (true)
            {
                string command = Console.ReadLine();
                if (command.Equals("quit"))
                {
                    scheduler.stop();
                    break;
                }
            }
            Console.ReadKey();
        }
    }

    
}
